EMT Practice Test
1. Question Content...
Question3: What is true about Python packages? (Select two answers)
Question4: What is the expected behavior of the following code?
Question6: Which of the following statement are true? (Select two answers)
Question8: What can you do if you don't like a long package path like this one?
Question9: What is a true about python class constructors? (Select two answers)
Question10: Which of the following expression evaluate to True? (Select two answers) A)
B)
C)
D)
Question12: What is the expected behavior of the following code?
Question13: What is the expected output of the following code?
Question15: What is the expected output of the following snippet?
Question16: What is the expected behavior of the following code?
Question17: Which of the following expressions evaluate to True? (Select two answers)
Question18: What will be the value of the i variable when the while e loop finishes its execution?
Question19: What is the expected output of the following code?
Question20: What is the output of the following piece of code?
Question21: Which of the following statements are true? {Select two answers)
Question23: Which of the following statements are true? (Select two answers)
Question27: Which of the listed actions can be applied to the following tuple? (Select two answers)
Question28: A compiler is a program designed to (select two answers)
Question29: What is the expected output of the following snippet?
Question30: The first parameter of each method:
Question35: Is it possible to safely check if a class/object has a certain attribute?
Question36: How many elements will the list1 list contain after execution of the following snippet?
Question37: What is the expected behavior of the following code?
Question38: What is the expected output of the following code?
Question39: Which of the following statements are true? {Select two answers)
Question40: An operator able to perform bitwise shifts is coded as (select two answers)
Question41: Which of the following words can be used as a variable name? (Select two valid names)
Question42: Which of the following statements are true? (Select two answers)
Question43: Which of the following expressions evaluate to True? (Select two answers)
Question44: What is the expected output of the following snippet?
Question45: Select the valid fun () invocations:
(select two answers)
def fun (a, b=0):
return a*b










